package com.spboot.entity;

import java.time.LocalDateTime;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author guocb
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class Order implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "Orderid", type = IdType.AUTO)
    private String Orderid;

    private Integer Userid;

    private Integer Addressid;

    private Integer OrderNumber;

    private Integer Pricez;

    private LocalDateTime Datetime;

    private Integer Orderstate;


    public static final String ORDERID = "Orderid";

    public static final String USERID = "Userid";

    public static final String ADDRESSID = "Addressid";

    public static final String ORDERNUMBER = "OrderNumber";

    public static final String PRICEZ = "Pricez";

    public static final String DATETIME = "Datetime";

    public static final String ORDERSTATE = "Orderstate";

}
